package com.shundr.auth.frame.util;

import android.content.Context;

import com.shundr.auth.frame.constant.LContext;
import com.shundr.auth.frame.db.LDaoManager;

/**
 * 
 * LLoader 应用开启时初始化应用的loader
 * 
 * @author larry 2015-4-10 下午2:33:48
 * @version 1.0.0
 *
 */
public class LLoader {

	public static boolean isInit = false;

	public static void initApp(Context context) {
		if (isInit) {
			return;
		}
		isInit = true;
		LContext.init(context);
		LDaoManager.init(context);
		LLogger.e("数据初始化完成");
	}
}
